package com.tiger.qcu.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tiger.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import javax.validation.constraints.*;
import com.tiger.common.core.domain.BaseEntity;

/**
 * 教师信息对象 sys_teacher_info
 * 
 * @author wcj
 * @date 2025-06-09
 */
@Data
@TableName(value = "sys_teacher_info")
@ApiModel(value = "教师信息")
public class TeacherInfo extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @ApiModelProperty("序号")
    private Long teacherId;

    /** 教师姓名 */
    @ApiModelProperty("教师姓名")
    @Excel(name = "教师姓名")
    private String teacherName;

    /** 学院/院系 */
    @ApiModelProperty("学院/院系")
    @Excel(name = "学院/院系")
    private String teacherDeptName;

    /** 毕业院校及国家 */
    @ApiModelProperty("毕业院校及国家")
    @Excel(name = "毕业院校及国家")
    private String teacherGraduated;

    /** 教师研究方向 */
    @ApiModelProperty("教师研究方向")
    @Excel(name = "教师研究方向")
    private String teacherInterested;

    /** 教师邮箱 */
    @ApiModelProperty("教师邮箱")
    @Excel(name = "教师邮箱")
    private String teacherEmail;

    /** 教师照片 */
    @ApiModelProperty("教师照片")
    @Excel(name = "教师照片")
    private String teacherImg;

    /** 用户ID */
    @ApiModelProperty("用户ID")
    private Long userId;

    /** 部门ID */
    @ApiModelProperty("部门ID")
    private Long deptId;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .append("teacherDeptName", getTeacherDeptName())
            .append("teacherGraduated", getTeacherGraduated())
            .append("teacherInterested", getTeacherInterested())
            .append("teacherEmail", getTeacherEmail())
            .append("teacherImg", getTeacherImg())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
